using System;
using System.Collections.Generic;
using UnityEngine;

public class InAppPurchase : MonoBehaviour
{
	[Serializable]
	public class Products
	{
		public string name;

		public string price;

		public string appStoreID;

		public string googlePlayID;

	}



	public static InAppPurchase instance;

	public List<InAppPurchase.Products> products;

	public Action purchased;

	private static Action<bool> __f__am_cache0;

	private void Awake()
	{
		if (InAppPurchase.instance == null)
		{
			InAppPurchase.instance = this;
		}
		else if (InAppPurchase.instance != this)
		{
			UnityEngine.Object.Destroy(base.gameObject);
		}
		UnityEngine.Object.DontDestroyOnLoad(base.gameObject);
	}

	private void Start()
	{

	}




	
}
